package com.koron.css2.serviceManage.bean;

import java.util.ArrayList;

/**
 * 树结构
 * @author 许海宜
 *
 */
public class MenuTree {
	
	private String id; //树id
	private String code; //树code编码
	private String name; //树名称
	private String path;
	private String parentId; //父级id
	private ArrayList<MenuTree> children = new ArrayList<>(); //下级目录
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public ArrayList<MenuTree> getChildren() {
		return children;
	}
	public void setChildren(ArrayList<MenuTree> children) {
		this.children = children;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
}
